//
//  Statistics.h
//  FH2go
//
//  Created by Hannes Feichtl on 12.06.13.
//  Copyright (c) 2013 Hannes Feichtl. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Statistics : NSObject

@property(nonatomic) int participants;
@property(nonatomic) int excellent;
@property(nonatomic) int good;
@property(nonatomic) int satisfactory;
@property(nonatomic) int sufficient;
@property(nonatomic) int unsatisfactory;
@property(nonatomic,strong) NSString *average;


/*
 <Participants>10</Participants>
 <Excellent>4</Excellent>
 <Good>3</Good>
 <Satisfactory>1</Satisfactory>
 <Sufficient>1</Sufficient>
 <Unsatisfactory>1</Unsatisfactory>
 <Average>2.2</Average>
 */

- (id)initWithDict:(NSDictionary*)dict;


@end
